<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery-2.2.0.js"></script>


</head>
<body>
	<input type="text" value="" class="i"/>
</body>
<script type="text/javascript">
$('.i').bind('input propertychange', function() { 
   alert($(this).val());
});
</script>
</html>